﻿<%@ Page Language="C#" MasterPageFile="~/XxgkMasterPage.master" AutoEventWireup="true" CodeFile="ysqgk.aspx.cs" Inherits="bsdt" Title="南京市国土资源局六合分局-信息公开" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="js/Jquery.Global.js" type="text/javascript"></script>
    <script src="js/Jquery.Common.js"></script>

    <script type="text/javascript">
        $(function () {
            GetNewIID();
        })

        function GetNewIID(a, b) {
            var strServicePath = Common.GetLocalPath() + '<%=ConfigurationManager.AppSettings["webcMaxiid"]%>/GetNewIID';
            WebService(strServicePath, GetMaxIidMaster, '{}');
        }

        function GetMaxIidMaster(result) {
            $("#xxgk_content").show();
            $("#xxgk_content").attr("src", "<%=ConfigurationManager.AppSettings["webPageUrl"]%>?iid=" + result + "&readonly=false&UserId=-1&FormName=dae63b9e-6472-4550-8c9a-fdee6a287c0e&input_index=0")
           
        }

    //    function iFrameHeight2() {
    //        $("#xxgk_content").hide();
    //        var ifm = document.getElementById("IfameSq");
    //        var subWeb = document.frames ? document.frames["IfameSq"].document :
    //ifm.contentDocument;
    //        if (ifm != null && subWeb != null) {
    //            ifm.height = subWeb.body.scrollHeight;
    //        }
    //    }

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
   <%-- <iframe onload="iFrameHeight2()" scrolling="no" name="IfameSq" id="IfameSq" marginheight="0" marginwidth="0" frameborder="0" style="width: 747px; background: url(images/index_15.jpg); height:100%;"></iframe>--%>

</asp:Content>

